package com.dh.inner;

public class InnerClass03 {
    private String name;

    public InnerClass03(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public String show() {
//        return new Test(new InnerClass03(this.name)).getTest();
        return new Test(this).getTest();
    }
}


class Test {
    private InnerClass03 innerClass03;

    public Test(InnerClass03 innerClass03) {
        this.innerClass03 = innerClass03;
    }

    public String getTest() {
        return innerClass03.getName() + "你好";
    }

}
